Page({
   data: {
     background: 1,
     indicatorDots: true,
     autoplay: true,
     circular:true,
     current:0,
     interval: 2000,
     duration: 500,

     list:[
      {
         id:1,
         text:111,
         url:'../../images/image/ph/1.jpg'
      },
      {
         id:2,
         text:222,
         url:'../../images/image/ph/6.jpg'
      },
      {
         id:3,
         text:333,
         url:'../../images/image/ph/8.jpg'
      }
   ]
   },
 
   changeIndicatorDots() {
     this.setData({
       indicatorDots: !this.data.indicatorDots
     })
   },
 
   changeAutoplay() {
     this.setData({
       autoplay: !this.data.autoplay
     })
   },
 
   intervalChange(e) {
     this.setData({
       interval: e.detail.value
     })
   },
 
   durationChange(e) {
     this.setData({
       duration: e.detail.value
     })
   }
 })